<div class="box">
  <div class="box-content">
	  <form method="post" enctype="multipart/form-data">
	  <table class="table table-striped table-hover">
	  <tbody>
	  <tr>
	    <td width="140">Tiêu đề</td>
	    <td><input type="text" class="input-text" name="news_title" value="{$news.news_title|escape}" /></td>
	  </tr>
	  <tr>
	    <td>Hình ảnh</td>
	    <td>
	    	<img src="{$news.news_thumb|thumb:'h75'}" /> <br />
	      <input type="file" class="input-text" name="news_thumb" />
	    </td>
	  </tr>
	  <tr>
	    <td>Video youtube</td>
	    <td>
	      <input type="text" class="input-text" name="news_youtube_url" value="{$news.news_youtube_url}" />
	    </td>
	  </tr>
	  <tr>
			<td>Thời gian bắt đầu</td>
			<td>
				<div class="controls input-append date datetimepicker" {if $news.news_countdown>0}data-date="{$news.news_countdown|date_format:'%d/%m/%Y %H:%M'}"{/if} data-date-format="dd/mm/yyyy - hh:ii" data-link-field="dtp_input1">
                    <input size="16" type="text" value="{if $news.news_countdown>0}{$news.news_countdown|date_format:'%d/%m/%Y %H:%M'}{/if}" readonly />
                    <span class="add-on"><i class="icon-remove"></i></span>
					<span class="add-on"><i class="icon-th"></i></span>
                </div>
				<input type="hidden" name="news_countdown" id="dtp_input1" value="{if $news.news_countdown>0}{$news.news_countdown|date_format:'%d/%m/%Y %H:%M'}{/if}" /><br/>
			</td>
		</tr>
	  <tr>
	    <td>Mô tả ngắn</td>
	    <td><textarea name="news_desc" rows="5">{$news.news_desc|escape}</textarea></td>
	  </tr>
	  <tr>
	    <td>Danh mục</td>
	    <td>
	      {html_options name=news_cat_id options=$aCat selected=$news.news_cat_id}
	    </td>
	  </tr>
	  <tr>
	    <th colspan="2">Nội dung</th>
	  </tr>
	  <tr>
	    <td colspan="2"><textarea class="ckeditor" name="news_content">{$news.news_content}</textarea></td>
	  </tr>
		<tr>
	    <td>Nguồn</td>
	    <td>
	      <input type="text" class="input-text" name="news_source" value="{$news.news_source|escape}" placeholder="Sưu tầm" />
	    </td>
	  </tr>	  
	  <tr>
	    <td>Link nguồn</td>
	    <td>
	      <input type="text" class="input-text" name="news_source_url" value="{$news.news_source_url|escape}" />
	    </td>
	  </tr>
	  <tr>
	    <td>Bài viết dính</td>
	    <td>
	      <input type="radio" value="1" name="news_ispinned" id="news_ispinned_on" {if $news.news_ispinned==1}checked="checked"{/if} /> <label for="news_ispinned_on">Có</label> &nbsp; &nbsp; &nbsp;
	      <input type="radio" value="0" name="news_ispinned" id="news_ispinned_off" {if $news.news_ispinned==0}checked="checked"{/if} /> <label for="news_ispinned_off">Không</label>
	    </td>
	  </tr>
		{*  
	  <tr>
	    <td>Hiển thị trang chính</td>
	    <td>
	      <input type="radio" value="1" name="news_ismain" id="news_ismain_on" {if $news.news_ismain==1}checked="checked"{/if} /> <label for="news_ismain_on">Có</label> &nbsp; &nbsp; &nbsp;
	      <input type="radio" value="0" name="news_ismain" id="news_ismain_off" {if $news.news_ismain==0}checked="checked"{/if} /> <label for="news_ismain_off">Không</label>
	    </td>
	  </tr>
	  *}
	  <tr>
	    <td>Trạng thái</td>
	    <td>
	    	<input type="radio" value="1" name="news_publish" id="news_enabled_on" {if $news.news_published==1}checked="checked"{/if} /> <label for="news_enabled_on">Xuất bản</label>  &nbsp; &nbsp; &nbsp;
	      <input type="radio" value="0" name="news_publish" id="news_enabled_off" {if $news.news_published==0}checked="checked"{/if} /> <label for="news_enabled_off">Bản nháp</label>
	      
	    </td>
	  </tr>
	  <tr>
	    <td colspan="2" align="center"><input class="input-submit" type="submit" value="Gửi đi" /></td>
	  </tr>
	  </tbody>
	  </table>
	  </form>
  </div>
</div>